class CategoriesController < BaseController 

  def index

  end

  def childrens
    @category = Category.find(params[:id])
    respond_to do |format|
      format.json{ render :json => @category.children }
    end
  end
end